Exploring Template Template Parameters
نویسندگان
چکیده
The generic programming paradigm has exerted great influence on the recent development of C++, e.g., large parts of its standard library [2] are based on generic containers and algorithms. While templates, the language feature of C++ that supports generic programming, have become widely used and well understood in the last years, one aspect of templates has been mostly ignored: template template parameters ([2], 14.1). In the first part, this article will present an in depth introduction of the new technique. The second part introduces a class for arbitrary precision arithmetic, whose design is based on template template parameters. Finally, we end with a discussion of the benefits and drawbacks of this new programming technique and how it applies to generic languages other than C++.
منابع مشابه
Template Assisted Method for Enhancing the Zeolite’s Ability to Capture Methionine
To investigate template effect on physicochemical properties of zeolite and enhance the molecular sieving properties, adsorption of methionine amino acid was studied by spectroscopic methods. Four zeolites such as methionine templated analcime, methionine templated zeolite P, N, N-dibenzyl N,N,N,N-tetramethylethylenediamine (DBTMED) templated analcime and free template analcime were synthesized...
متن کاملCan Wavelet Denoising Improve Motor Unit Potential Template Estimation?
Background: Electromyographic (EMG) signals obtained from a contracted muscle contain valuable information on its activity and health status. Much of this information lies in motor unit potentials (MUPs) of its motor units (MUs), collected during the muscle contraction. Hence, accurate estimation of a MUP template for each MU is crucial. Objective: To investigate the possibility of improv...
متن کاملPreparation of High Surface Area ZrO2 Nanoparticles
In comparison to the previous researches, ZrO2 nanoparticles with higher surface area (85 m2/g) have been synthesized in this research. The as-prepared ZrO2 nanoparticles by co-precipitation method were characterized with X-Ray Diffraction (XRD), Scanning Electron Microscopy (SEM) and Transmission Electron Microscopy (TEM). The surface area of the s...
متن کاملA Soft and Efficient Approach for Removal of Template from Mesoporous Silica using Benzene Sulfonamide
In this contribution, an effective and soft method for removal of template from nanochannels of mesoporous silica (MCM-41) is proposed. This method is based on chemically-modified solvent extraction which enhanced by means of an auxiliary organic compound, i.e. benzene sulfonamide. Template removal was performed in soft condition, i.e. in the presence of diluted sulfuric acid and at ambient tem...
متن کاملControlling Ant-Based Construction
This paper investigates the dynamics of decentralised nest construction in the ant species Leptothorax tuberointerruptus, exploring the contribution of, and interaction between, a pheromone building template and a physical building template (the bodies of the ants themselves). We present a continuous-space model of ant behaviour capable of generating ant-like nest structures, the integrity and ...
متن کامل